Miner.Responder.Shared.Extensions Namespace > EnumerableExtensions Class > IsNullOrEmpty Method : IsNullOrEmpty<T>(IEnumerable<T>) Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Overloads Shared Function IsNullOrEmpty(Of T)( _ ByVal items As System.Collections.Generic.IEnumerable(Of T) _ ) As System.Boolean
'Usage
Dim items As System.Collections.Generic.IEnumerable(Of T) Dim value As System.Boolean value = EnumerableExtensions.IsNullOrEmpty(Of T)(items)
[System.Runtime.CompilerServices.Extension()] public static System.bool IsNullOrEmpty<T>( System.Collections.Generic.IEnumerable<T> items )
public function IsNullOrEmpty( items: System.Collections.Generic.IEnumerable ): System.Boolean; static;
System.Runtime.CompilerServices.ExtensionAttribute() public static function IsNullOrEmpty( items : System.Collections.Generic.IEnumerable ) : System.boolean;
true
if null
or no items in the collection.false
otherwiseTarget Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2